package com.example.user.UserIntegral.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.OrderMessage;
import com.example.user.UserIntegral.entity.Integral;

import java.util.List;

public interface IntegralService extends IService<Integral> {
    List<Integral> serviceList(Integral integral);

    /**
     * 给用户添加积分
     */
    Boolean AddIntegral(List<OrderMessage> orderMessages) throws Exception;
}
